//
//  NewsViewController.h
//  Finance
//
//  Created by cheng xiang on 13-4-2.
//  Copyright (c) 2013年 cheng xiang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AnalysisJson.h"
#import "EGORefreshTableHeaderView.h"
#import "MultiThreading.h"
#import "LoadMoreFooterView.h"


@interface NewsViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,EGORefreshTableHeaderDelegate,LoadViewFooterDelegate>
{
    BOOL _reloading;
}
@property (strong, nonatomic)EGORefreshTableHeaderView *refreshTableView;
@property (strong, nonatomic)UITableView *tableView;
@property (strong, nonatomic)NSMutableArray *array;
@property (nonatomic, assign)BOOL reloading;
@property (nonatomic, assign)CGPoint currentOffsetPoint;
@property (nonatomic, assign)int pageIndex;
@property (nonatomic, assign)ServerType type;
@property (nonatomic, strong)LoadMoreFooterView *loadFooterView;

//开始重新加载时调用的方法
- (void)reloadTableViewDataSource;
//完成加载时调用的方法
- (void)doneLoadingTableViewData;

@end
